$(function() {
	
	// Prizes
	var prizes = $("div.prize"); // Prizes Container
	var totalPrizes = prizes.length; // Total Prizes
	var prizeWidth = 518 / totalPrizes; // Prizes Width
	
	// if more than one prize, scale images to 50%
	if( totalPrizes > 1 ) {
		prizes.find('img').css('width', '50%');	
	}
	
	prizes.css('width', prizeWidth); // set equal width to all prizes block
	prizes.addClass('prize-separator'); // add separator to every block
	prizes.first().removeClass('prize-separator'); // remove separator from first block
	
	
	// Question Radio Buttons
	$("input.custom-radio").checkbox({cls:'jquery-radio', empty: 'media/images/empty.png'});
	$("input.custom-checkbox").checkbox({cls:'jquery-checkbox', empty: 'media/images/empty.png'});
	
});
